<?php
class RolePermission extends Doctrine_Record {

	public function setTableDefinition() {
		$this->hasColumn('role_id', 'integer', 4, 
			array(
      	'primary' => true,
      )
    );
    
    $this->hasColumn('permission_id', 'integer', 4, 
			array(
      	'primary' => true,
      )
    );
	}
	
	public function setUp() {
		$this->setTableName('roles_permissions');
	}
	
}
	
